#!/bin/python3
# -*- coding: utf-8 -*-
# exp_20.py
# @author 刘秋
# @email lq@aqiu.info
# @description
# @created 2020-5-13 20:47:54

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

#
# fig, ax = plt.subplots()
# # 一副图多条线，参数label ： 显示的名称
# ax.plot(np.arange(10), np.arange(10), 'k-', drawstyle='steps-post', label='steps-post')
# ax.plot(np.arange(10), np.arange(10), 'k--', label='Default')
# # 显示图例
# plt.legend(loc='best')
# plt.show()


fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
ax.plot(np.random.randn(1000).cumsum())

plt.show()
